package com.hsjk.szwj.module.train.controller.app.vo.course;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author ec50n9
 */
@Schema(description = "更新学习进度 req VO")
@Data
@ToString(callSuper = true)
public class AppCourseStudyRecordReqVO {

    @Schema(description = "课程id")
    @NotNull(message = "课程id不能为空")
    private Long courseId;

    @Schema(description = "条目id")
    @NotNull(message = "条目id不能为空")
    private Long itemId;

    @Schema(description = "学习时长:单位：秒")
    private Integer studyTime;

    @Schema(description = "学习进度:单位：百分比")
    private Integer studyProgress;

    @Schema(description = "学习得分")
    private Integer studyScore;

    @Schema(description = "历史答案")
    private String studyAnswer;

    @Schema(description = "学习备注")
    private String studyRemark;
}
